<?php
/**
 * 外部收入路由
 */
$router->group(['prefix' => 'money'], function ($router) {
   
    Route::get('list', ['as' => 'list', 'uses' => 'MoneyController@index']); //返回临时支出明细
    Route::get('price', ['as' => 'price', 'uses' => 'MoneyController@price']); //返回搜牙巴薪酬
    Route::get('common', ['as' => 'common', 'uses' => 'MoneyController@common']); //返回公共费用明细
    Route::any('ajaxIndex', ['as' => 'ajaxIndex', 'uses' => 'MoenyController@ajaxIndex']);//ajax返回支出明细
    Route::any('ajaxPrice', ['as' => 'ajaxPrice', 'uses' => 'MoenyController@ajaxPrice']);//ajax返回薪资明细
    
    Route::get('create', ['as' => 'create', 'uses' => 'IncomeController@create']); //返回添加表单
   
});

